package com.yml.ktbus.utils

import android.os.Looper

/**
 * Created by liaohailiang on 2019/3/26.
 */
object ThreadUtils {
    val isMainThread: Boolean
        get() = Looper.myLooper() == Looper.getMainLooper()
}